import React, { Component } from 'react'
import { Layout } from 'antd';
import './index.css'
import storage from '../../utils/storageUtils'
import LeftNav from '../../components/left-nav'
import RightHeader from '../../components/right-header'


const { Header, Footer, Sider, Content } = Layout;

const {getToken,getUsername} = storage;
export default class Admin extends Component {
    render() {
        return (
            <Layout className='admin-container'>
                <Sider className='admin-left'>
                    <LeftNav/>
                </Sider>
                <Layout className='admin-right'>
                    <Header className='admin-right-header'>
                        <RightHeader/>
                    </Header>
                    <Content className='admin-right-main'>Content</Content>
                    <Footer className='admin-right-footer'>Footer</Footer>
                </Layout>
            </Layout>
        )
    }
}
